package org.yaukie.auth.entity;

public class LoginBody {
    private static final long serialVersionUID = 1L;
    private String userName;
    private String passWord;
    private String verifyCode;
    private String uuid = "";

    public LoginBody() {
    }

    public String getUserName() {
        return this.userName;
    }

    public String getPassWord() {
        return this.passWord;
    }

    public String getVerifyCode() {
        return this.verifyCode;
    }

    public String getUuid() {
        return this.uuid;
    }

    public void setUserName(final String userName) {
        this.userName = userName;
    }

    public void setPassWord(final String passWord) {
        this.passWord = passWord;
    }

    public void setVerifyCode(final String verifyCode) {
        this.verifyCode = verifyCode;
    }

    public void setUuid(final String uuid) {
        this.uuid = uuid;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof LoginBody)) {
            return false;
        } else {
            LoginBody other = (LoginBody)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label59: {
                    Object this$userName = this.getUserName();
                    Object other$userName = other.getUserName();
                    if (this$userName == null) {
                        if (other$userName == null) {
                            break label59;
                        }
                    } else if (this$userName.equals(other$userName)) {
                        break label59;
                    }

                    return false;
                }

                Object this$passWord = this.getPassWord();
                Object other$passWord = other.getPassWord();
                if (this$passWord == null) {
                    if (other$passWord != null) {
                        return false;
                    }
                } else if (!this$passWord.equals(other$passWord)) {
                    return false;
                }

                Object this$verifyCode = this.getVerifyCode();
                Object other$verifyCode = other.getVerifyCode();
                if (this$verifyCode == null) {
                    if (other$verifyCode != null) {
                        return false;
                    }
                } else if (!this$verifyCode.equals(other$verifyCode)) {
                    return false;
                }

                Object this$uuid = this.getUuid();
                Object other$uuid = other.getUuid();
                if (this$uuid == null) {
                    if (other$uuid != null) {
                        return false;
                    }
                } else if (!this$uuid.equals(other$uuid)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof LoginBody;
    }

    public int hashCode() {
        int result = 1;
        Object $userName = this.getUserName();
        result = result * 59 + ($userName == null ? 43 : $userName.hashCode());
        Object $passWord = this.getPassWord();
        result = result * 59 + ($passWord == null ? 43 : $passWord.hashCode());
        Object $verifyCode = this.getVerifyCode();
        result = result * 59 + ($verifyCode == null ? 43 : $verifyCode.hashCode());
        Object $uuid = this.getUuid();
        result = result * 59 + ($uuid == null ? 43 : $uuid.hashCode());
        return result;
    }

    public String toString() {
        return "LoginBody(userName=" + this.getUserName() + ", passWord=" + this.getPassWord() + ", verifyCode=" + this.getVerifyCode() + ", uuid=" + this.getUuid() + ")";
    }
}
